public class CalcDemo02 {
    public static void main(String[] args) {
        int i = 1;
        int i1 = 2;// = 赋值运算符
        System.out.println(i > i1);//false
        System.out.println(i < i1);// true
        System.out.println(i >= i1);// false
        System.out.println(i <= i1);// true
        System.out.println(i == i1);//false 判断是否相等，只限数据

        String a = "abc";
        String b = "abc";
        System.out.println(a.equals(b));// 判断值
        System.out.println(a == b);// 判断引用

    }
}
